package com.tjetc.service;

import com.tjetc.domain.ChatHistory;
import com.tjetc.vo.ChatHistoryCategory;
import com.tjetc.vo.Result;

import java.io.IOException;
import java.util.List;

public interface ChatHistoryService {
    Result add(ChatHistory chatHistory);

    void test();

    Result del(Integer id);

    List<ChatHistory> findAllById(Integer senderId, Integer receiveId) throws IOException;

    List<ChatHistoryCategory> chatHistoryCategoryList(Integer userId) throws IOException;

    boolean importAll();

    void clearNoRead(Integer userId, Integer receiverId);

    void findAll();
}
